
.form-step {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out;
}

.form-step.active {
  opacity: 1;
  height: auto;
  transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out;
}

.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-in-out;
}
@media all and (min-width: 1024px) {
    .step-indicator {
      margin-left: 49px;
    }
}
.step-indicator .dot {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    margin: 0 5px;
    transition: background-color 0.5s ease-in-out;
    color: #9CCB3D;
    border: 1px solid #9CCB3D;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    display: flex; justify-content: center; align-items: center;
    padding: 10px;
}
@media all and (min-width: 1024px) {
    .step-indicator .dot {
        padding: 0;   
    }
}

.step-indicator .dot.active {
  background-color: $pierce;
  transition: background-color 0.5s ease-in-out;
}

/* CSS Transitions between steps */
.form-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.form-step.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}
.fade-out {
  transition: opacity 0.2s ease-in-out;
  opacity: 0;
}

.fade-in {
  transition: opacity 0.5s ease-in-out;
  opacity: 1;
}

.multi-step-control {
  --bs-gutter-x: 2.5rem;
  @include breakpoint($breakpoint-sm) {
    --bs-gutter-x: 15rem;
  }
  @include breakpoint($md) {
    --bs-gutter-x: 15.5rem;
  }
  @include breakpoint($med) {
    --bs-gutter-x: 15.5rem;
    --bs-gutter-y: 0;
  }
}

.stepCards {
  display: flex;
  flex-direction: column;
  @include breakpoint($tab) {
    flex-direction: row;
  }
}

.stepCard {
  margin-bottom: 0;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  background: #FFF;
  overflow: hidden;
  height: 439px;
  
  @include breakpoint($tab) {
    margin-bottom: unset;
    &:first-child {
      margin-right: 21px;
    }
  }
  &__icon {
    margin-bottom: 21px;
  }
  &__title {
    margin-bottom: 24px;
    @include headingMediumBold();
    color: #252159;
    @include breakpoint($desk) {
      margin-bottom: 10px;
    }
  }
  &__body {
    @include textSmall();
    color: #66648B;
  }

  &.blueGreen {
    .form-input-radio:checked + label {
      background-color: $blueGreen;
    }
  }
  &.green {
    .form-input-radio:checked + label {
      background-color: $pierceMonoGreen;
    }
  }
  &.red {
    .form-input-radio:checked + label {
      background-color: $pierce;
    }
  }
}

.stepCard__wrapper,
.stepCard label { height: 100%; position: relative; }

.stepCard label .radio-svg { 
    position: absolute; top: 210px; left: 30px; height: 80px; width: 80px; background-color: white; 
    border-radius: 6px;
    border: 1px solid #CDCDCD;
}

.stepCard label .radio-svg svg { 
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.steps__title {
    color: #333;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px; /* 150% */
    margin-top: 20px;
    max-width: 670px;
    margin-bottom: 30px;
}

.stepCard__title {
    margin-top: 60px;
    margin-left: 30px;
    color: #2C2C2C;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.stepCard label:hover {
    box-shadow: usnet !important; 
}
.stepCard img {
    /*border-radius: 10px;   */
    height: 250px;
    object-fit: cover;
    width: 100%;
}
.stepCard label:before {
    bottom:-8px;
    right:0;
    left: unset !important;
    top: unset !important;
    content: 'Ενδιαφέρομαι' !important;
    width: 210px !important;
    height: 54px !important;
    margin-right: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
border-radius: 10px 0px !important;
text-align: center;
font-family: Arial;
font-size: 14px;
font-style: normal;
font-weight: 700;
line-height: normal;
letter-spacing: 0.2px;
}

.stepCard label.radio-activities-english:before { 
    content: "I'm interested" !important;
}

.stepCard label:after {
    bottom: 25px;
    right: 100px;
    left: unset !important;
    top: unset !important;
}

.stepsIndicator {
  display: flex;
}

.form-input-radio {
  display: none;
}

.form-input-radio + label {
  display: flex;
  flex-direction: column;
  padding: 40px 11px 24px 20px;
  padding:0 !important;
  background-color: $white;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, transform .25s linear, box-shadow .25s linear;;
  max-width: 100%;
  box-shadow: unset !important;
  @include breakpoint($desk) {
    padding: 40px 40px 34px 40px;
    max-width: 353px;
  }
  .stepCard__icon {
    .icon {
      &:before {
        font-size: 50px;
        color: $pierce;
        @include breakpoint($desk) {
          font-size: 50px;
        }
      }
    }
  }
}

.form-input-radio:checked + label {
  /*transition: transform .25s linear;*/
  /*transform: scale(1.035);*/
  box-shadow: unset !important;
}
.form-input-radio:checked + label:before { 
    content: '' !important;
    background-color: #9CCB3D;
}


.form-input-radio:hover + label {
  transition: box-shadow .25s linear;
  box-shadow: unset !important;
}
.form-input-radio:hover + label:before {
    background-color: #9CCB3D;
    color: white;
}

.form-input-radio:checked:hover + label:before {
  /*background-color: #0096C7;*/
  /*transform: scale(1.035);*/
}

.form-step .checkbox-container {
  display: flex;
  margin-bottom: 40px;
}

@media all and (min-width: 1024px) {
    .form-step .checkbox-container {
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
          grid-auto-rows: 80px;
          grid-auto-flow: dense;
          gap: 20px;
          margin-bottom: 40px;        
    }
}

.form-step .checkbox-container input[type="checkbox"] {
  display: none;
}

.form-step .checkbox-container label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #E9EBF4;
  color: #252159;
  cursor: pointer;
  padding: 10px;
  text-align: center;
  transition: all $transitionLong;
}

.form-step .checkbox-container input[type="checkbox"]:checked + label {
  transition: all $transitionLong;
  background: #9769DC;
  box-shadow: -30px 30px 100px -10px rgba(14, 13, 57, 0.2);
  border-radius: 50%;
  color: $white;
  width: 140px;
  height: 140px;
}

.form-step .checkbox-container label:after {
  content: "";
  display: none;
}

.form-step .checkbox-container input[type="checkbox"]:checked + label:after {
  /*//content: "✔";*/
  display: inline-block;
  /*color: #fff;*/
  font-size: 18px;
  font-weight: bold;
  line-height: 25px;
  text-align: center;
}

.buttonBack {
  margin-right: 30px;
}

.stepForm .button__wrapper {
  overflow: hidden;
  display: flex;
  align-items: center;
}
.stepButtons .button__wrapper {
    margin-top: 60px;   
}
.stepButtons .button__wrapper button {
    border-radius: 6px;
}
.stepButtons .button__wrapper button.buttonBack {
    font-weight: bold;
}
.stepButtonsPrograms button.buttonBack {
    font-weight: bold;       
}
.multi-step-control .button {
    border-radius: 6px !important;   
}
.multi-step-control .btn-welcome {
    width: 256px;
}

.multi-step-control .rte__title span span {
    background: #F2E633;
    color: #333;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 2px;  
}
.multi-step-control .rte__title span {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.08em;
}

.stepsWrapper {
    height: 60px;   
    background: #F6F6F6;
    display: flex;
    align-items: center;
    overflow-x: scroll;
}

.form-step#step0 .rte {
    margin-top: 30px;
}
@media all and (min-width: 1024px) {
    .form-step#step0 .rte {
        margin-top: 60px;
    }    
}

.form-step .swiper.mySwiper-programs {
    height: 100%;   
}
.form-step .swiper.mySwiper-programs .single-card-program {
    min-height: 100%;   
}


.step-indicator-text {
    display: flex;
    align-items: center;
    position: relative;
    flex-wrap: nowrap;
    color: #666;
    font-family: "Open Sans";
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;    
    flex-shrink: 0;
    /*min-width: 230px;*/
}
@media all and (min-width: 1024px) {
    .step-indicator-text {
        min-width: auto;    
        color: #666;
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 28px; /* 186.667% */   
    }
}

.step-indicator-text.active {
    font-weight: 700;   
}
.step-indicator-text .dot {
    margin-right: 11px;
}
.step-indicator-text:not(:last-child) {
    margin-right: 40px;   
}
.step-indicator-text:not(:last-child):after {
    content: '';
    background: #9A9A9A;
    width: 1px;
    height: 30px;
    position: absolute;
    top:0;
    right:-40px;;
}
.step-indicator-text {
    margin-left: 40px;   
}

.step-indicator-text:first-child {
    margin-left: 70px;   
}

@media all and (min-width: 1024px) {
    .step-indicator-text:first-child {
        margin-left: 0;   
    }
    .step-indicator-text:not(:first-child) {
        margin-left: 40px;   
    }
}

.step-form-selection p {
    margin-bottom: 6px;
    color: #666;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;    
}
.step-form-selection-container {
    margin-top: 60px;   
}
.step-form-selection-image img {
    max-width: 120px;
    margin-right: 40px;
    border-radius: 15px;
}
.step-form-selection-program-title {
    margin-bottom: 0;
}

.stepForm .form-fields-wraper .col-12 {
    flex: inherit;
    margin-bottom: inherit;
}

.stepForm .highlight {
    border: 1px solid red !important;   
}


.dot.checked{
        background: #9CCB3D;
        }
.form-step .checkbox-container {
    display: inline-flex;
    width:max-content;
    
}
.form-step .checkbox-container:after {
    content: "";
    position: absolute;
    bottom: 0px;
    display: inline-flex;
    left: 0;
    width: 100%;
    border-bottom: 2px solid #CDCDCD;
    z-index: -1;
}
.form-step .checkbox-container a{
    color: #CDCDCD;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    }
.form-step .checkbox-container a:hover{
    color:#9CCB3D;
    border-bottom:2px solid #9CCB3D;
    }
.form-step .checkbox-container a.active{
    color:#9CCB3D;
    border-bottom:2px solid #9CCB3D;
    }

.form-step .checkbox-item {
    position: relative;
    padding: 12px; /* Adjust as needed */
    border: 1px solid transparent; /* Initial border */
    background-color: #fff; /* Background color */
    text-decoration: none; /* Remove underline */
    color: #000; /* Text color */
    transition: border-color 0.3s ease;
}

.form-step .checkbox-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px; /* Border thickness */
    background-color: transparent; /* Default border color */
    z-index: -1; /* Ensure it's behind the content */
    transition: background-color 0.3s ease; /* Smooth transition for color changes */
}
/* Example class for green border, add other colors as needed */
.form-step .checkbox-item.green {
    border-color: green; /* Border color */
}

.form-step .checkbox-item.green::before {
    border-color: green; /* Border color for the pseudo-element */
}




.upload-container {
     display: flex;
     align-items: center;
     justify-content: space-between; /* Distribute space between left and right elements */
     gap: 10px;
    border-radius: 6px;
    border: 1px solid #D9D9D9;
}

.upload-container svg:first-child {
  margin-right: 10px; /* Adjust spacing between icon and label */
}

.upload-label {
  font-size: 14px;
  color: #333333;
  flex-grow: 1; /* Allow the label to take up remaining space */
}

.upload-input {
  padding: 15px 55px;
  background-color: #CDCDCD;
  color: #333333;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block; /* Ensure input remains inline */
  width: auto;
}

.upload-input.hidden {
  display: none;
}

.upload-success {
  display: none;
  flex-shrink: 0; /* Prevent the success message from shrinking */
  margin:5px;
}

.upload-success svg {
  width: 89px; /* Ensure the success message stays the same size */
  height: 50px;
  margin-right:0 !important;
}
@media all and (min-width: 768px) {
    .upload-success svg {
      width: 160px; /* Ensure the success message stays the same size */
      height: 50px;
    }
}

.hidden {
  display: none;
}
/* Hide the default file input button */
input[type="file"]::-webkit-file-upload-button {
  visibility: hidden;
}

/* Hide the file input */
input[type="file"] {
  opacity: 0;
  position: absolute;
  z-index: -1;
}

/* Style for the custom file upload button */
.custom-file-upload {
    border: 2px solid #CDCDCD; /* Adjust as needed */
    border-radius: 4px;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 55px;
    padding-right: 55px;
    background: #CDCDCD;
    color: white;
    /*display: inline-block;*/
    cursor: pointer;
    text-align: center; 
    transition: background 0.3s;
    color: #333;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.2px;
    margin:5px;  
}
.form-fields-wraper label.custom-file-upload {
    display: flex;
    align-items: center;
    justify-content: center;  
    width: 89px;
    padding-left: 25px;
    padding-right: 25px;
}
@media all and (min-width: 768px) {
    .form-fields-wraper label.custom-file-upload {
        width: 160px; 
        padding-left: 55px;
        padding-right: 55px;        
    }
    .custom-file-upload {
        width: 160px;   
    }
}

.form-step-welcome {
    padding-bottom: 20px;   
}

.form-step-welcome-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 30px;
    border-radius: 20px;
}
@media all and (min-width: 1024px) {
    .form-step-welcome-image {
        margin-top: 0;
    }
}
.form-step-button-1 {
    margin-top: 30px;   
}
@media all and (min-width: 1024px) {
    .form-step-button-1 {
        margin-top: 40px;   
    }
}
.line-normal {
    line-height: normal;   
}

.form-step-welcome .rte__title h1 {
    margin-top: 20px;
    margin-bottom: 8px;
}
@media all and (min-width: 1024px) {
    .form-step-welcome .rte__title h1 {
        margin-top: 29px;
        margin-bottom: 1px;
    }
}
.form-step-requirements {
    margin-top: 58px;
    position: relative;
}
.form-step-requirements-box {
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
    padding: 30px;
}
.form-step-requirements-box-title {
    color: #9CCB3D;
    font-family: "Open Sans";
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px; /* 173.333% */
    text-transform: uppercase;   
}
.form-step-requirements-box-content p {
    color: #808080;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}
.form-step-requirements-box-content p a {
    font-weight: 700;
}


.btn-requirements {
    font-size: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
}

#modalInfoRight .modal-dialog-right {
    transform: unset;
    right: 0;
    position: absolute;
    height: 100%;
}
@media all and (min-width: 768px) {
    #modalInfoRight .modal-dialog-right {
        min-width: 610px;
    }
}
#modalInfoRight .modal-dialog-right .modal-content {
    height: 100%;
    border: unset;
}
#modalInfoRight .modal-dialog-right .modal-content .btn-close {
    width: 0;
    position: relative;
    right: 20px;
    top: 10px;
}
#modalInfoRight .modal-dialog-right .modal-body {
    padding: 75px 20px 40px 20px;
    height: 100%;
}
@media all and (min-width: 768px) {
    #modalInfoRight .modal-dialog-right .modal-body {
        padding: 100px 50px;
    }
}
#modalInfoRight .modal-dialog-right .modal-body .rte__body {
    margin-top: 21px;
    margin-bottom: 30px;
}
#modalInfoRight .nav-tabs {
    border-bottom: 2px solid #dee2e6;
}
#modalInfoRight .nav-tabs li {  
    width: 50%;
    margin-bottom: 0;
}
#modalInfoRight .nav-tabs .nav-link { 
    color: #CDCDCD;    
    text-align: center;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}
#modalInfoRight .nav-tabs .nav-link.active {
    border: unset;
    color: #9CCB3D;
    border-bottom: 2px solid #9CCB3D;
}

#myTabContent ol {
    margin-top: 41px;
}
#myTabContent ol li {
    color: #484848;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
#myTabContent ol li::marker {
    display: none;
}

#modalInfoRight ol.incremental-counter {
    position: relative;
    counter-reset: custom-counter;
    padding-left: 20px;
}

#modalInfoRight ol.incremental-counter li {
    counter-increment: custom-counter; /* Increment the counter */
    list-style: none;
    position: relative; 
    padding-left: 2em;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    height: 30px;
}

#modalInfoRight ol.incremental-counter li::before {
    content: counter(custom-counter);
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: #9CCB3D;
    left: -15px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-family: "Open Sans";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;    
}

#alert-container {
    margin-top: 30px;   
}
.multi-step-control .form-step .swiper-button-prev,
.multi-step-control .form-step .swiper-button-next {
    filter: grayscale(100%);
    max-width: 80px;
    display: none !important;
}
.multi-step-control .form-step .swiper-button-prev {
    background-position: left; 
    left: 50px;
}
.multi-step-control .form-step .swiper-button-next {
    background-position: right;
    right: 50px;
}
@media all and (min-width: 1280px) {
    .multi-step-control .form-step .swiper-button-prev,
    .multi-step-control .form-step .swiper-button-next {
        display: block !important;
    }
}
.goBackToHome {
    color: #808080;
    font-family: "Open Sans";
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;   
}
.goBackToHome svg {
    margin-right: 4px;
}
@media all and (min-width: 768px) {
   .goBackToHome svg {
        margin-right: 8px;
    }
    .goBackToHome {
        font-size: 15px; 
    }    
}

#step3 p,
#step3 .rte__body {
    margin-bottom: 21px;   
    color: #333;
    
    font-family: "Open Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 155.556% */    
}
#step3 p:not(:first-child) {
    margin-top: 40px;   
}

#step3 .form-fields-wraper {
    margin-bottom: 5px;   
}

#step3 .form-fields-wraper label {
    margin-bottom: 10px;
}
#step3 .form-fields-wraper input {
    height: 60px;
    padding-left: 20px;
    border-radius: 4px;
}
#step3 .form-fields-wraper input:focus {
    border: 1px solid #9CCB3D !important; 
}

@media all and (min-width: 768px) {
    #step3 .form-fields-wraper input {
        padding-left: 30px;
    }
}

.step-form-selection-program,
.step-form-selection-image {
    display: none;   
}

@media all and (min-width: 1024px) {
    .step-form-selection-program,
    .step-form-selection-image {
        display: block;   
    }
}
.step-form-selection-mobile {
    position: fixed;
    bottom: 0;
    padding: 16px 20px 16px 20px;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    width: 100%;
    z-index: 1000;
}
.step-form-selection-mobile .step-form-selection-program,
.step-form-selection-mobile .step-form-selection-image {
    display: block;   
}
@media all and (min-width: 1024px) {
    .step-form-selection-mobile {
        display:none;   
    }
}


